<?php

$_CLASS['monitoringCLS'] = "class_php/monitoringCLS.php";


class monitoring extends Module
{
	var $socket = 0;
	var $analyzeArray = 1;
	var $analyzeError = 1;
	var $connDB = 1;
	var $func = 1;
	var $funcDB = 0;
	var $sqlFunc = 1;
	var $request = array();
	var $smarty = 1;
	var $session = array();
	var $impBase = array();
	var $fldError = array();
	var $usrError = array();
	var $sysError = array();
	var $usrInfo = array();
	var $usrInfoFuncJS = '';
	var $usrInfoValueBtn = '';
	var $extClass = array();
	var $appLog = 1;
	var $lastPageNo = 0;
	var $menu = 1;
	var $security = 1;
	
	function start()
	{
		$this->request["fDataInizio"] = "";
// 		if ( ! isset($this->request['order']) ) $this->request['order'] = 'cam_campagna';
// 		if ( ! isset($this->request['orderType']) ) $this->request['orderType'] = 'asc';
		
// 		if (	$this->request["fDataInizio"]!= "")	$this->reportUnicefCLS->reportContatti();
		
		$this->monitoringCLS->loadCampagne();
		
// 		$this->fillValue("fDataInizio|fDataFine", $this->request);
		$this->fillValue("idCampagnaLS|clienteLS|campagnaLS|descrizioneLS|attivaLS|idCampagna", $this->request);
	}

	function show()
	{		
		//$this->smarty->assign("ajax","yes");
		
		$this->smarty->assign("mod","campagne");
		$this->smarty->assign("do","monitoring");
		$this->smarty->assign("page","home");

// 		if ( !isset( $this->request['expDati'] ) ) 
		$this->smarty->display($this->session["ruolo"]."/campagne/monitoring.tpl.html");
	}
}

?> 
 
 
